#include <stdio.h>

int main()
{
	int num[] = {1,3,4};
	char x[] = "hello", y[] = "hello";

	/* number array*/
	printf("num:%p\n", num);
	printf("&num[0]:%p\n", &num[0]);/* num is an pointer which
					point to the first value in array and
					store it's address*/

	/* char array*/
	printf("x:%s\n", x); /* input "hello" so x store the string's value
				but not it's address*/
	printf("&x:%p\n", &x);
	printf("&x[0]:%p\n", &x[0]);/* &x equals &x[0] */

	if(x[0] == y[0]){
		printf("equal\n");
	}else{
		printf("x:%p\n", x);
		printf("y:%p\n", y);
	}

	return 0;
}
